import { createPinia } from 'pinia';
import useAppStore from './modules/app';
import useUserStore from './modules/user';
import useTabBarStore from './modules/tab-bar';
import useOrderStore from './modules/order-management';
import useBuyStore from './modules/buy-management';
import useMenusStore from './modules/menus';
import useGlobalParametersStore from './modules/globalParameters';
import useRouterStore from './modules/permission';
import useFlowStore from './modules/work-flow/index';
import useProduceStore from './modules/produce-management/index';

const pinia = createPinia();

export {
  useAppStore,
  useUserStore,
  useTabBarStore,
  useMenusStore,
  useGlobalParametersStore,
  useOrderStore,
  useBuyStore,
  useFlowStore,
  useRouterStore,
  useProduceStore,
};
// export { useAppStore, useUserStore, useTabBarStore, };
export default pinia;
